//
//  SiteRecomendModel.m
//  We_Travel
//
//  Created by lanou3g on 15/12/23.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import "SiteRecomendModel.h"

@implementation SiteRecomendModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"description"]) {
        [self setValue:value forUndefinedKey:@"description1"];
    }
}
- (void)setNilValueForKey:(NSString *)key{
    if ([key isEqualToString:@"time_consuming_max"]) {
        _time_consuming_max = 0;
    }
    if ([key isEqualToString:@"_time_consuming_min"]) {
        _time_consuming_min = 0;
    }
}
@end
